import request from '@/utils/request'

// 查询任务标识列表
export function listMember_task_tag(params) {
  return request({
    url: '/admin/api/member_task_tag/list',
    method: 'get',
    params
  })
}

// 查询任务标识详细
export function getMember_task_tag(id) {
  return request({
    url: '/admin/api/member_task_tag/' + id,
    method: 'get'
  })
}

// 新增任务标识
export function addMember_task_tag(data) {
  return request({
    url: '/admin/api/member_task_tag/add',
    method: 'post',
    data
  })
}

// 修改任务标识
export function updateMember_task_tag(data) {
  return request({
    url: '/admin/api/member_task_tag/update',
    method: 'put',
    data
  })
}

// 删除任务标识
export function delMember_task_tag(data) {
  return request({
    url: '/admin/api/member_task_tag/delete',
    method: 'delete',
    data
  })
}

// 导出任务标识
export function exportMember_task_tag(query) {
  return request({
    url: '/admin/api/member_task_tag/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
